/**
 * 
 */
package com.designpattern.design.facade;

/**
 * @author zhangyang
 *
 */
public class DvdPlayer {
	// 使用单例模式构建DVD
	private static DvdPlayer instance = new DvdPlayer();

	public static DvdPlayer getInstance() {
		return instance;
	}
	
	public void on() {
		System.out.println("DVD开机");
	}
	
	public void off() {
		System.out.println("DVD关机");
	}
	
	public void play() {
		System.out.println("DVD开始播放");
	}
	public void pause() {
		System.out.println("DVD暂停播放");
	}
	public void procceed() {
		System.out.println("DVD继续播放");
	}
}
